#define _CRT_SECURE_NO_WARNINGS
#include<iostream>

using namespace std;

template<class T1, class T2>
auto Add(T1 a, T2 b)
{
	return a + b;
}


int main()
{
	double a = Add(1.0, 4.1);
	cout << a;
	return 0;
}